package com.itheima.comment.service;

import com.itheima.comment.docs.CommentVo;
import com.itheima.comment.dto.CommentDto;
import com.itheima.comment.dto.CommentLikeDto;
import com.itheima.comment.dto.CommentSaveDto;
import com.itheima.comment.pojo.ApComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.pojo.PageInfo;

/**
 * <p>
 * APP评论信息表 服务类
 * </p>
 *
 * @author 作者
 * @since 2021-09-01
 */
public interface ApCommentService extends IService<ApComment> {

    void saveToMongo(CommentSaveDto dto);

    void likes(CommentLikeDto dto);

    PageInfo<CommentVo> loadPage(CommentDto dto);
}
